/******************************************************************************
**                                                                           **
**                 Proprietary and Confidential Information                  **
**                                                                           **
**                 Copyright (c) Conexant, Inc. Unpublished                  **
**                                                                           **
** This source code and the algorithms implemented therein constitute        **
** confidential information and may compromise trade secrets of SigmaTel,    **
** Inc. or its associates, and any unauthorized use thereof is prohibited.   **
**                                                                           **
******************************************************************************/
#ifndef __DC_VOCONTROL_API_H__
#define __DC_VOCONTROL_API_H__

#include "dc_imgbuf_api.h"
/**************************************************************************
 * file: dc_vo_control.h
 *       This file include defination of PO module control parts
 *   
******************************************************************************
*  FILE FORMAT:
*      1. ENUMERATIONS 
*      2. DEFINES
*      3. STRUCTURES
*      4. ALLOCS
*      5. FUNCTIONS
******************************************************************************/
/******************************************************************************
*  1. ENUMERATIONS 
******************************************************************************/
typedef enum{
  DC_VO_IMAGE_R,
  DC_VO_IMAGE_G,
  DC_VO_IMAGE_B,
}DC_VO_IMAGE_PLATE_COLOR_t;
/******************************************************************************
*  3. STRUCTURES
******************************************************************************/


// include  all the image data to be displayed.
typedef struct{
  DC_IMGBUF    *imgBufPtr;                 // input pointer(s) to decompressed R, G or B image
  UINT32       plateID;
  DC_VO_IMAGE_PLATE_COLOR_t color; // plate image color 
}DC_VO_IMAGE_t;


/******************************************************************************
*  5. FUNCTIONS
******************************************************************************/
DC_RETURN_CODE dc_vo_setup(UINT32 memSize, boolean xferType);
DC_RETURN_CODE dc_vo_init(DC_MEM_PARAMS_t *pMemParams, boolean dispType);
DC_RETURN_CODE dc_vo_image_plate_input(DC_VO_IMAGE_t*, DC_RETURN_CODE (*cbFunc)(UINT32));
DC_RETURN_CODE dc_vo_image_cancle(DC_RETURN_CODE (*cancelCBFunc)(void));


#endif //__DC_VOCONTROL_API_H__

